@{
ViewData["Title"] = "Test1";
var one=ViewBag.One;
var address=ViewBag.Address;
}

<div class="text-center">
  <p>姓名：<b>@one.Name</b></p>
  <p>性别: <b>@one.Sex</b></p>
  <p>年龄: <b>@one.Age</b></p>
  <p>
    等级：
    @if(one.Level==1)
    {
    <b>青铜</b>
    }
    else if(one.Level==2)
    {
    <b>白银</b>
    }
    else if(one.Level==3)
    {
    <b>黄金</b>
    }
    else if(one.Level==4)
    {
    <b>钻石</b>
    }
  </p>
  <ul>
    地址:
    @foreach(var a in address){
    <li><b>@a</b></li>}
  </ul>
</div>
